<!DOCTYPE html>
<html>
<head>
    <title>Paginationjs example</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="./page/default.css" rel="stylesheet" type="text/css">
    <script src="../js/jquery.min.js"></script>
    <script src="./page/jquery.pagination.js"></script>
</head>
<body>

<div id="wrapper">
    <section>
        <div class="data-container"></div>
        <div class="pager"></div>
    </section>
</div>

<script>
    $(".pager").pagination({
        recordCount: 3211,       //总记录数
        pageSize: 10,           //一页记录数
        onPageChange: function (pageIndex) {
            document.title = pageIndex;
        }
    });
</script>
</body>
</html>